import { defineStore } from "pinia";

const useShoppingList = defineStore("list", {
  state: () => ({
    list: [],
    productInformation: {
      // 新增
      forms: {},
      ruleForm: {},
      informationObj: {},
      warehouseList: {},
      warehouseObj: {}
    },
    // 编辑中
    editObject: {},
    // 编辑中添加商品原始数据
    editOriginData: {}
  }),
  actions: {}
});
export default useShoppingList;
